/**
 * pharma-model - 9 janv. 2011 guillaume
 */
package org.bspv.pharma.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author guillaume
 */
@Entity
@Table(name = "PERISHABLE_SUPPLY")
public class PerishableSupply extends Consumable {

    /**
     * serialVersionUID.
     */
    private static final long serialVersionUID = 1L;

    /**
     * Date de péremption nominale.
     */
    private Date nominalUseByDate;
    /**
     * Date de péremption effective.
     */
    private Date effectiveUseByDate;

    /**
     * @return the nominalUseByDate
     */
    public final Date getNominalUseByDate() {
        return nominalUseByDate;
    }

    /**
     * @param nominalUseByDate
     *            the nominalUseByDate to set
     */
    public final void setNominalUseByDate(final Date nominalUseByDate) {
        this.nominalUseByDate = nominalUseByDate;
    }

    /**
     * @return the effectiveUseByDate
     */
    public final Date getEffectiveUseByDate() {
        return effectiveUseByDate;
    }

    /**
     * @param effectiveUseByDate
     *            the effectiveUseByDate to set
     */
    public final void setEffectiveUseByDate(final Date effectiveUseByDate) {
        this.effectiveUseByDate = effectiveUseByDate;
    }

}
